package com.example.book.crawler.service;

import com.example.book.base.BaseService;
import com.example.book.crawler.entity.CrawlerContent;
import com.example.book.crawler.dao.CrawlerContentDao;

import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author hcj
 * @date 2019-11-01 22:25:05
 */
@Service
public class CrawlerContentService extends BaseService<CrawlerContent, CrawlerContentDao> {

    public List<CrawlerContent> findListByLimit(Integer limit) {
        return dao.findListByLimit(limit);
    }
}